import React, { Component } from 'react'
import "./style.scss"
import Nav1 from "../../assets/images/nav-1.png"
import url from "../../config/url.config"

class GroupsCard extends Component {
    constructor(props) {
        super(props)
    }
    state = {}


    render() {
        return (
            <div className="groups_card">
                <div className="left">
                    <h4>{this.props.title}</h4>
                    <p>{this.props.desc}</p>
                </div>
                <div className="right">
                    <img src={`${url}${this.props.imgSrc}`} alt="" />
                </div>
            </div>
        )
    }
}
export default GroupsCard